var baseUrl = "https://nideshop.bluej.cn/api/";
var config = { 
    login: baseUrl + "auth/loginByWeixin",  //4、登录接口
    shopping:baseUrl + "cart/index",          //购物车 
    homePage:baseUrl + "index/index",    //首屏数据
    classification: baseUrl + "catalog/current",  //3、分类接口
    classifiedCatalogue : baseUrl+"catalog/index",  //2、分类目录全部分类数据接口
    classificationData: baseUrl + "goods/category",   //获得分类数据
    goodsDetail: baseUrl +"goods/detail",     //获得商品详细
    hot: baseUrl + "goods/hot",         //热门
    goodsList: baseUrl + "goods/list",    //6、获得商品列表，结合第2个接口用
    search: baseUrl + "search/index",     //31、搜索接口
    updateGoods: baseUrl + "cart/update", //更新购物车
    delGoods: baseUrl + "cart/delete", //删除商品
    checkGoods: baseUrl + "cart/checked", //选择或取消选择商品
  } 
  module.exports = config;

